﻿using UnityEngine;

public class GameObjectTools {
	// === Public =====================================================================================================
	public static GameObjectTools CreateInstance() {
		var instance = new GameObjectTools();
		return instance;
	}

	public GameObject Create(string pathPrefab) {
		return (GameObject)Object.Instantiate(Tools.Resources.GetObjectFromResources(pathPrefab));
	}

	public void Destroy(GameObject go) {
		Object.Destroy(go);
	}
}